home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Frameworks
/
TransSkel 3.24
/
Source
/
Dialog Item Stuff
/
SkelSetDlogStr.c
< prev
next >
Wrap
Text File
|
1996-01-17
|
319b
|
19 lines
/*
* Set text of a dialog item. The value is passed or returned
* as a string, not a buffer/length combination.
*/
# include "TransSkel.h"
pascal void
SkelSetDlogStr (DialogPtr d, short item, StringPtr str)
{
short type;
Handle h;
Rect r;
GetDialogItem (d, item, &type, &h, &r);
SetDialogItemText (h, str);
}